package com.cameron.ucenter.mapper;

import com.cameron.entity.UcenterMember;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author cameron
 * @since 2022-06-30
 */
public interface UcenterMemberMapper extends BaseMapper<UcenterMember> {

    @Select("select count(*) from ucenter_member where DATE(gmt_create) =  #{date}")
    Integer getRegisterCount(@Param("date") String date);
}
